<?php
$this->pageTitle=Yii::app()->name . ' - 修改密码';
?>
<?php $form = $this->beginWidget('CActiveForm',array(
	'id'=>'forget-form',
	'enableAjaxValidation'=>true,
	'focus'=>'#user_name',
	'htmlOptions'=>array('class'=>'main_con'),
	'skin'=>'sss',
	//'stateful'=>true,
	//'viewPath'=>'ss',
));?>
<p class="tit_bar">修改密码</p>
<?
if($sucess){?>
	<div class="errorSummary">
<ul>
<li><?=$sucess?></li>
</ul></div>
<?}?>
<?php // echo CHtml::errorSummary($userModel); ?>
			<div class="info_con">				
				<div class="info_title">
					<img src="/images/sign_info.jpg" />
					<span class="title">请重新输入您的新密码</span>
				</div>

				<div class="email_col">
					<?php echo $form->labelEx($userModel,'email',array('class'=>'email'));?>
					<?php echo $form->textField($userModel,'email',array('class'=>'email_txt','value'=>$email,'disabled'=>'disabled'));?>
					<span class="remind"><?php echo $form->error($userModel,'email')?></span>
<!--					<span class="remind">请输入合法的邮箱地址</span>-->
				</div>
				<div class="psw_col">
					<?php echo $form->labelEx($userModel,'password',array('class'=>'password'))?>
					<?php echo $form->passwordField($userModel,'password',array('class'=>'psw_txt'));?>
					<span class="remind"><?php echo $form->error($userModel,'password');?></span>
<!--					<span class="remind">密码至少4位</span>-->
				</div>
				<div class="re_psw_col">
					<?php echo $form->labelEx($userModel,'repassword',array('class'=>'re_psw'));?>
					<?php echo $form->passwordField($userModel,'repassword',array('class'=>'re_psw_txt'));?>
					<span class="remind"><?php echo $form->error($userModel,'repassword');?></span>
<!--					<span class="remind">两次输入密码不一致</span>-->
				</div>
			</div>
				<?php echo CHtml::submitButton('提交',array('class'=>'sign_submx'));?>
<?php $this->endWidget();?>